package cn.neusoft.mapper;

import cn.neusoft.pojo.User;
import org.apache.ibatis.annotations.Select;

public interface UserMapper extends BaseMapper<User>,PageMapper<User>{

    //通过用户名查询用户
    @Select("select * from t_user where username=#{username}")
    User getByUsername(String username);
}
